Cournot Learning